Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved system for saving player settings #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MisterFrans
Copy link

Hello,
I created this version because saving all players in the same file is very heavy when you have many unique players on the server. This causes slowdowns (increased mspt) when loading and saving players, which often happened with the save on logout.
In this version the player information is saved in one file per player. This creates more files but they are smaller and therefore easier to edit when saving.
The player's settings are only saved when he changes one of his settings.

To avoid problems with older versions of the plugin, the version includes an automatic migration system from the old storage system to the new one.

If you have any questions, don't hesitate!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant